package com.youkeyi.ddy.cloud.common.api.application.applet.crm.type;

import com.youkeyi.ddy.cloud.common.api.application.applet.crm.type.dto.AppletCustomerTypeListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.applet.crm.type.param.AppletCustomerTypeListCloudParam;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * AppletCustomerTypeCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/applet/customer/type/fallback")
public class AppletCustomerTypeCloudServiceFallback implements AppletCustomerTypeCloudService {

    @Override
    public AppletCustomerTypeListCloudDto list(AppletCustomerTypeListCloudParam param) {
        return new AppletCustomerTypeListCloudDto(Boolean.FALSE, "服务不可用");
    }

}
